<template>
  <div class="login">
    <div class="login_nav">
      <div @click="$router.go(-1)">&lt;</div>
      <div>猫眼电影</div>
      <div></div>
    </div>

    <div class="login_content">
      <div class="input_1">
        <input type="text" maxlength="11" placeholder="请输入手机号" />
        <span>发送验证码</span>
      </div>

      <input type="text" maxlength="11" placeholder="请输入短信验证码" />

      <button>登录</button>

      <p class="tips">未注册的手机号将自动生成新账号</p>

      <p class="kefu">© 猫眼电影 客服电话：<span>400-670-5335</span></p>
    </div>
  </div>
</template>

<script>
export default {
  name: "login",
};
</script>

<style>
.login {
  flex: 1;
  display: flex;
  background-color: rgb(247, 247, 247);
  flex-direction: column;
}

.login .login_nav {
  width: 100%;
  height: 50px;
  background-color: rgb(223, 45, 45);
  display: flex;
  justify-content: space-between;
}

.login .login_nav > div {
  width: 33.333%;
  font-size: 18px;
  color: white;
  display: flex;
}

.login .login_nav > div:nth-of-type(2) {
  justify-content: center;
  align-items: center;
}
.login .login_nav > div:first-of-type {
  box-sizing: border-box;
  align-items: center;
  font-size: 24px;
  transform: scaleX(0.7);
}

.login .login_content {
  flex: 1;
  box-sizing: border-box;
  padding: 0px 20px ;
  display: flex;
  flex-direction: column;
}

.login .input_1{
  width: 100%;
  position: relative;
  margin-top: 7px;
}

.login .input_1 span{
  border: 0.5px solid red;
  border-radius: 3px;
  color: red;
  position: absolute;
  top: 25%;
  padding:1px 5px;
  right: 0;
  background-color: transparent;
  font-size: 12px;
}
.login input{
  width: 100%;
  height: 30px;
  border: 0;
  padding: 6px 0;
  background-color: transparent;
  outline: none;
  font-size: 15px;
  border-bottom: 1px solid #e5e5e5;
}

.login input::-webkit-input-placeholder{
  color: #bbbbbb;
}

.login .login_content>button{
  background-color: #e5e5e5;
  font-size: 15px;
  margin-top: 30px;
  color: #999;
  border: 0;
  width: 100%;
  border-radius: 3px;
  height: 40px;
}

.login .tips{
  color: #999;
  margin-top: 15px;
  display: inline-block;
  width: 100%;
  font-size: 13px;
  text-align: center;
}

.login .kefu{
  display: inline-block;
  margin-top: 10px;
  width: 100%;
  text-align: center;
  font-size: 14px;
}

.login .kefu>span{
  color: red;
  font-size: 15px;
}
</style>